package com.lihaonan;

import org.w3c.dom.ls.LSOutput;

import java.io.OutputStream;

public class hello {

    public static void main(String[] args) {

        System.out.println("Hello World");
      String []a = {"a1","b1","c1"};
        printArray(a);

    }

    private static void printArray(String[] a) {
        for(String str : a)
        {
            System.out.println(str);
        }
    }

    public hello(String name, int age, boolean sick) {
        this.name = name;
        this.age = age;
        this.sick = sick;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public boolean isSick() {
        return sick;
    }

    public void setSick(boolean sick) {
        this.sick = sick;
    }

    private String name;
    private int age;
    private boolean sick;

    hello student = new hello("xiaoming",20,false);

}


